<a href="http://github.com/angular/angular.js/edit/master/docs/content/error/resource/badargs.ngdoc" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> Improve this doc</a><h1><code ng:non-bindable="">Too Many Arguments</code>
<div><span class="hint">error in component <code ng:non-bindable="">$resource</code>
</span>
</div>
</h1>
<div><pre class="minerr-errmsg" error-display="Expected up to 4 arguments [params, data, success, error], got {0} arguments">Expected up to 4 arguments [params, data, success, error], got {0} arguments</pre>
<h2 id="description">Description</h2>
<div class="description"><div class="-resource-page -resource-badargs-page"><p>This error occurs when specifying too many arguments to a <a href="api/ngResource.$resource"><code>$resource</code></a> action, such as <code>get</code>, <code>query</code> or any user-defined custom action.
These actions may take up to 4 arguments.</p>
<p>For more information, refer to the <a href="api/ngResource.$resource"><code>$resource</code></a> API reference documentation.</p>
</div></div>
</div>
